package com.icangya.DAO;

import com.icangya.domain.RedPacketRecord;

import java.util.List;

public interface IRedPacketRecordDAO extends IBaseDAO<RedPacketRecord> {

    /**
     * 获取用户红包记录
     * @param uid
     * @return
     */
    List getRedPacketRecord(long uid);

    /**
     * 根据用户id 查询红包拆分明细
     * @param uid
     * @param pageNum
     * @return
     */
    List<Object> findRedPacketRecordByUserId(Long uid , Integer pageNum);

}
